package com.ccb.hfms.builder.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IMongoCRUD {
	public void add(JSONObject json);
	
	public void remove(String id);
	
	public JSONObject findOne(String id);
	
	public List<JSONObject> findAll(String key, String value);
	
	public void modify(String id, JSONObject json);
	
	public void remove(String key, String value);
}
